﻿@{
    ViewBag.Title = "用户登录";
    Layout = GetPath(SystemDirectory.Shared, "_Dialog.cshtml");
}

@model LoginModel

@if (IsValided)
{
<div class="homepage-news-wrapper">
    <div id="page-comments">
    	<div class="page-comment-interior">
			<div class="comments-container">
            @using (Html.BeginForm())
            {
            <div><b style="color:Yellow;">用户名</b>@Html.TextBoxFor(model => model.UserName, new { @class = "txt" })</div>
            <div><b style="color:Yellow;">密码</b>@Html.PasswordFor(model => model.Password, new { @class = "txt" })</div>
            <div>@Html.CheckBoxFor(model => model.AutoLogin)<label for="AutoLogin"><b style="color:Yellow;">记住登录登录状态</b></label></div>
            <div style="text-align:center;">
                <button class="ui-button button1 " type="submit">
		            <span>
			            <span>登录</span>
		            </span>
	            </button>
            </div>
            }
            </div>
        </div>
    </div>
</div>
}
